package com.tudouji.project.customer.service;

import java.util.List;
import com.tudouji.project.customer.domain.Customerdepartgroup;

/**
 * 部门客户关联Service接口
 * 
 * @author tudouji
 * @date 2022-05-18
 */
public interface ICustomerdepartgroupService 
{
    /**
     * 查询部门客户关联
     * 
     * @param guid 部门客户关联ID
     * @return 部门客户关联
     */
    public Customerdepartgroup selectCustomerdepartgroupById(String guid);


    /**
     * 查询部门客户关联列表
     * 
     * @param customerdepartgroup 部门客户关联
     * @return 部门客户关联集合
     */
    public List<Customerdepartgroup> selectCustomerdepartgroupList(Customerdepartgroup customerdepartgroup);

    /**
     * 新增部门客户关联
     * 
     * @param customerdepartgroup 部门客户关联
     * @return 结果
     */
    public int insertCustomerdepartgroup(Customerdepartgroup customerdepartgroup);

    /**
     * 修改部门客户关联
     * 
     * @param customerdepartgroup 部门客户关联
     * @return 结果
     */
    public int updateCustomerdepartgroup(Customerdepartgroup customerdepartgroup);


//    /**
//     * 修改部门
//     * @param guid
//     * @return
//     */
//    int updateCustomerVoSeller(String guid);


    /**
     * 批量删除部门客户关联
     * 
     * @param guids 需要删除的部门客户关联ID
     * @return 结果
     */
    public int deleteCustomerdepartgroupByIds(String[] guids);

    /**
     * 删除部门客户关联信息
     * 
     * @param guid 部门客户关联ID
     * @return 结果
     */
    public int deleteCustomerdepartgroupById(String guid);
}
